/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.google.code.netbuilder.dal.xmlaccess;


import com.google.code.netbuilder.dal.entities.Wire;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Андрей
 */

@XmlType(name = "wires")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "wires")
class WireAccessList implements IAccessList
{
    private ArrayList<Wire> wire;
    
    private WireAccessList()
    {}
    
    public WireAccessList(ArrayList<Wire> wires)
    {
        wire = wires;
    }
    
    @Override
    public ArrayList<Wire> getList()
    {
        return wire;
    }
}

